
<div id="users">
<h1>Players</h1>

<table>
  <thead>
    <tr>      
      <th>Name</th>
      <th>Nick</th>
      <th>Country</th>
      <th>Email</th>
      <th>About</th>       
    </tr>
  </thead>
  <tbody>
    <?php foreach ($users as $user): ?>
    <tr>      
      <td><?php echo $user->getName() ?></td>
      <td><a href="<?php echo url_for('user/show?id='.$user->getId()) ?>"><?php echo $user->getNick() ?></a></td>
      <td>
		<img src="../images/flags/<?php echo $user->getCountry()->getFlag() ?>" alt="<?php echo $user->getCountry()->getFlag() ?>" />		
	  </td>
      <td><?php echo $user->getEmail() ?></td>
      <td><?php echo $user->getAbout() ?></td>  
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

</div>